package com.cz.run;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

@ComponentScan(basePackages = "com.cz.run")
@MapperScan(basePackages = "com.cz.run.mapper")
@ServletComponentScan
@EnableTransactionManagement
@EnableSwagger2
@EnableScheduling
@SpringBootApplication
public class BlockChainRunApplication {

    public static void main(String[] args) {
        SpringApplication.run(BlockChainRunApplication.class, args);
    }
}
